package www.webols;

import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.util.Log;

public class GetWeiboService extends Service {
	private WeiboBinder binder=new WeiboBinder();
	@Override
	public void onCreate() {
		Log.d("GetWeiboService","create");
		super.onCreate();
	}

	@Override
	public void onDestroy() {
		Log.d("GetWeiboService","destroy");
		super.onDestroy();
	}

	@Override
	public void onStart(Intent intent, int startId) {
		Log.d("GetWeiboService","start");
		super.onStart(intent, startId);
	}

	@Override
	public IBinder onBind(Intent arg0) {
		Log.d("GetWeiboService","onBind");
		return binder;
	}
	public class WeiboBinder extends Binder{
		GetWeiboService getService(){
			return GetWeiboService.this;
		}
	}

}
